
const Index= () => M.loadVueModule('../views/index.vue')
const Test= () => M.loadVueModule('../views/test.vue')

const  { createRouter,createWebHashHistory} =VueRouter;

const routes = [
  { path: '/', component: Index },
  { path: '/test', component:Test },
];

const router = createRouter({
  history: createWebHashHistory(),
  routes: routes
})

export default router;

